<template>
  <div>
    <van-tabbar v-model="active" router >
      <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="gem" to="/classify">分类</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart" to="/shopcar"
        >购物车</van-tabbar-item
      >
      <van-tabbar-item icon="friends" to="/personage">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
    data() {
        return {
            active:''
        }
    },
}
</script>